<div class="header-bar">
<h1><?echo $content_title; ?></h1>
</div>
<div class="detail">
<? echo $content; ?>
<? if(@$pm->id):?>
		<div class="dl-box">
			<div><span class="f14 B TxtPurple">ดาวน์โหลดเอกสาร</span></div>
				<ul>
				<?php foreach($attachs as $attach):?>
					<?php if($attach):?>
									<li><a href="stats/research_download/<?php echo $attach->id?>" class="hoverZoomLink"><?php echo $attach->file_name?></a></li>
					<?php endif;?>
				<?php endforeach;?>
				</ul>
			</div>
		</div>
<? endif; ?>
</div>